package net.kuhyygy.crawl;

import java.util.List;

public class TestCrawl {

	public static void main(String[] args) {
		String url = "http://www.oschina.net/";
		HtmlCrawler hc = new HtmlCrawler();
		List<String> imgs = hc.crawl(url, "a", "href", 2);
		System.out.println(imgs.size());
		
		
		
	}

}
